package o;

import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.CheckedTextView;
import java.lang.ref.WeakReference;

public class qd extends SkinAttr {

    static final class d extends fkz<SkinAttr, Drawable> {
        private WeakReference<CheckedTextView> ˋ;

        public /* synthetic */ void ॱ(Object obj) {
            ॱ((Drawable) obj);
        }

        private d(CheckedTextView checkedTextView) {
            this.ˋ = new WeakReference(checkedTextView);
        }

        public void ॱ(Drawable drawable) {
            CheckedTextView checkedTextView = (CheckedTextView) this.ˋ.get();
            if (checkedTextView != null) {
                fph.ॱ(checkedTextView, drawable);
            }
        }
    }

    public qd() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof CheckedTextView) {
            CheckedTextView checkedTextView = (CheckedTextView) view;
            if ("drawable".equals(this.attrValueTypeName) || "color".equals(this.attrValueTypeName)) {
                this.ʽ = "drawable";
                fks.ˎ(view.getContext(), this, new d(checkedTextView)).ॱ(z);
            }
        }
    }
}
